<template>
	<view class="container">
		<image :src="src" mode=""></image>
	</view>
</template>

<script>
	export default {
		name: "top",
		props:['src'],
		data() {
			return {

			};
		}
	}
</script>

<style lang="scss" scoped>
	.container {
		width: 100%;
		height: 300rpx;
		>image{
			width: 100%;
			height: 100%;
		}
		
	}
</style>